home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-21 | 1.8 KB | 80 lines | [TEXT/ttxt] |
- --<<
-
- -- Build the demos
-
- module builddirectories
- uses scriptx
- exports buildDir, widgetstc
- end
-
- in module builddirectories
-
- global buildDir := thescriptdir
- global widgetstc := open librarycontainer \
- dir: thestartdir \
- path: "widgets.sxl"
-
- -- Load the source
-
- filein (spawn buildDir "web") name: "build.sx"
- filein (spawn buildDir "browser") name: "build.sx"
- filein (spawn buildDir "ifish") name: "loadme.sx"
- filein (spawn buildDir "browser") name: "embed.sx"
- filein builddir name: "spaces6.sx"
-
- -- Build the containers
-
- module buildtitles
- uses scriptx, builddirectories
- uses WebInterface, WebBrowserInterface
- uses EmbeddedBouncingBall, webspaces6, InternetFish
- end
-
- in module buildtitles
-
- global webtc := new titlecontainer dir: buildDir path: "web.sxt"
- append webtc (getmodule @WebImplementation)
- append webtc (getmodule @WebInterface)
- webtc.startupAction := startWebToolkit
-
- global hotsxtc := new titlecontainer dir: buildDir path: "hotsx.sxt"
- append hotsxtc (getmodule @WebBrowser)
- append hotsxtc (getmodule @HTMLImplementation)
- append hotsxtc (getmodule @WebBrowserInterface) -- ??
- hotsxtc.startupAction := startWebBrowser
- adduser widgetstc hotsxtc
- adduser webtc hotsxtc
-
- -- Build the fish
-
- global fishtc := new titlecontainer dir: buildDir path: "ifish.sxt"
- append fishtc (getmodule @internetfish)
- fishtc.startupAction := startFish
- adduser widgetstc fishtc
- adduser webtc hotsxtc
-
- --
-
- global spaces6tc := new titlecontainer dir: buildDir path: "spaces6.sxt"
- (
- local da := importsomemedia spaces6tc
- local win := createTheWindow spaces6tc
- createTheBall win da
- append spaces6tc win
- spaces6tc.startupAction := startSpaces6
-
- )
-
- -- Build the embedded app
-
- global embeddedtc := new titleContainer dir: buildDir path: "embed.sxt"
- append embeddedtc bounceApplet
-
- -- Close stuff
-
- close webtc
- close hotsxtc
- close fishtc
- close spaces6tc
- close embeddedtc
-